package com.itheima.service.com.itheima.service.store;

import com.github.pagehelper.PageInfo;
import com.itheima.domain.store.QuestionItem;

import java.util.List;

public interface QuestionItemService {


    //保存
    void save(QuestionItem questionItem);

    //删除
    void delete(QuestionItem questionItem);

    //更新
    void update(QuestionItem questionItem);

    //根据ID查找
    QuestionItem findById(String id);


    //分页查询数据
    PageInfo findAll(String questionId,int page, int size);
}
